package config2excel.resolve;

import config2excel.util.C2EConstant;

public class ConfigResolveProxy {
  public static IConfigResolve getConfigResolve(String resolveType) {
    if (C2EConstant.CONFIG_ADDRESS.equals(resolveType)) {
      return new ConfigAddress();
    } else if (C2EConstant.CONFIG_TEST.equals(resolveType)) {
      return new ConfigTest();
    }
    return null;
  }
}
